package com.acme;

import com.acme.benchmarks.GetTimeBenchmark;
import com.acme.benchmarks.MemoryBenchmark;
import com.acme.benchmarks.PutTimeBenchmark;

public class Main {


    public static void main(String[] args) {

        int iterations = 40;
        int growFactor = 20000;
        HashMapFactory factory = new HashMapFactory(HashMapFactory.Mode.HASH_MAP_MODE);

        MemoryBenchmark memoryBenchmark = new MemoryBenchmark(iterations,growFactor,factory);
        memoryBenchmark.heat();
        memoryBenchmark.run();

        PutTimeBenchmark putTimeBenchmark = new PutTimeBenchmark(iterations, growFactor, factory);
        putTimeBenchmark.heat();
        putTimeBenchmark.run();

        GetTimeBenchmark getTimeBenchmark = new GetTimeBenchmark(iterations, growFactor, factory);
        getTimeBenchmark.heat();
        getTimeBenchmark.run();


    }


}
